package com.po;

import com.dto.BookResponsibilityDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author linyukun
 * @date 2022/7/7 19:14
 */
@Data
public class BookPO {
    @ApiModelProperty(value = "图书id")
    private long id;

    @ApiModelProperty(value = "类型id")
    private long typeId;

    @ApiModelProperty(value = "类型名称")
    private String typeName;

    @ApiModelProperty(value = "图书名称")
    private String bookName;

    @ApiModelProperty(value = "图书价格")
    private BigDecimal price;

    @ApiModelProperty(value = "描述信息")
    private String description;

    @ApiModelProperty(value = "图片地址")
    private String picUrl;

    @ApiModelProperty(value = "出版社")
    private String publish;

    @ApiModelProperty(value = "作者")
    private String author;

    @ApiModelProperty(value = "存量")
    private String stock;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "出版地")
    private String publishPlace;

    @ApiModelProperty(value = "出版日期")
    private String publishYear;

    @ApiModelProperty(value = "语种")
    private String language;

    @ApiModelProperty(value = "版次")
    private String revision;

    @ApiModelProperty(value = "载体形态")
    private String carrierForm;

    @ApiModelProperty(value = "isbn")
    private String isbn;

    @ApiModelProperty(value = "主要负责人", example = "1")
    private List<BookResponsibilityPO> mainResponsibilitys;

    @ApiModelProperty(value = "次要负责人", example = "1")
    private List<BookResponsibilityPO> noMainResponsibilitys;

    private String mainResponsibility;

    private String secondResponsibility;

    @ApiModelProperty(value = "货币类型", example = "1")
    private Integer currencyType;

    @ApiModelProperty(value = "页数", example = "1")
    private Integer pageMeta;

    private String languageDesc;

    private String currencyTypeDesc;

    private Integer version;


}
